import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
export interface IProps extends ICompProps {}
ActivitiesTitle.defaultProps = {} as Partial<IProps>;
function ActivitiesTitle(props: IProps) {
    const { className, style, children } = props;
    const localClassName = useClassName('ActivitiesTitle', className);
    return (
        <RootView className={localClassName} style={style}>
            {children}
        </RootView>
    );
}
export default React.memo(ActivitiesTitle as FC<IProps>);
const RootView = styled(View)`
    &.ActivitiesTitle {
        width: 690px;
        font-size: 36px;
        font-weight: 500;
        color: #333333;
        margin: 0 auto;
        margin-top: 46px;
    }
`;
